package com.gtw.modules.dao;

import com.gtw.modules.entity.TbDiscount;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TbDiscountDao extends BaseDao<TbDiscount>{

    int deleteByPrimaryKey(Integer id);

    int insert(TbDiscount record);

    int insertSelective(TbDiscount record);

    TbDiscount selectByPrimaryKey(Integer id);

    TbDiscount selectByType(Integer type);

    int updateByPrimaryKeySelective(TbDiscount record);

    int updateByPrimaryKey(TbDiscount record);
}